home *** CD-ROM | disk | FTP | other *** search
- Path: castle.nando.net!news
- From: Steve Krueger <sekruege@nando.net>
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: sas/c c -> asm
- Date: Sun, 21 Jan 1996 20:30:51 -0500
- Organization: News & Observer Public Access
- Message-ID: <3102E8CB.5EC3@nando.net>
- References: <781.6594T816T2161@innet.be>
- NNTP-Posting-Host: vyger608.nando.net
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0b5 (Macintosh; I; 68K)
-
- Bert Wynants wrote:
- >
- > Hi,
- >
- > With SAS/C (6.56) it's possible to create an asm file out of a c-source file
- > (disassemble option). However if I want to asm this generated file the
- > assmebler chokes on it:
- >
- > test.a 214 Error: invalid operands for this opcode
- > MOVEM.L D4/D5/D6/D7/A2/A3/A4/A5/A6,-(A7);48e7 0f3e
- >
-
- The SAS Assembler has a limit to the number of register ranges you can
- specify on the movem instruction. Also, the semicolon should be separated
- from the rest of the line by a space. Change this line to :
-
- MOVEM.L D4-D7/A2-A6,-(A7) ;48e7 0f3e
-
- And it should assemble ok.
-
- sk
-